<!--
  To change this template, choose Tools | Templates
  and open the template in the editor.
-->

<%@ page contentType="text/html;charset=UTF-8" %>

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title> Search result ToonWatch </title>
  </head>
  <body>
    <h1>Search results for ${term}</h1>

  <g:each var="item" in="${items}">


    Name : ${item.name} <br>
    Price : ${item.price} <br>
    Brand : ${item.brand} <br>

    Image : <g:if test="${item.image}">
      <img src="<g:createLink controller='image' action='renderImage' id='${item.id}'/>"/>
    </g:if><br>

  </g:each>
</body>
</html>
